package com.sxfans.thread;

public class ThreadTest {
	public static void main(String[] args) throws InterruptedException {
		Thread threadA = new Thread(new MyThreadA());
		Thread threadB = new Thread(new MyThreadB());
		threadA.start();
		System.out.println("aaaaaaaaaaaaa");
		System.out.println("bbbbb");
		threadA.join();
		threadB.start();
//		threadB.join();
		System.out.println("aa");
	}
}
